org.eclipse.vtp.desktop.projects.core
Interface IDatabaseSet
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IVoiceToolsResource
- All Known Implementing Classes:
- DatabaseSet
public interface IDatabaseSet
- extends IVoiceToolsResource
This interface represents the folder resource of an application project
that contains the database configuration information file and folder
resources.
- Version:
- 2.0
- Author:
- Trip Gilman
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
getDatabases
java.util.List getDatabases()
- Returns:
- The list of
IDatabases that are defined in
this application project
createDatabase
IDatabase createDatabase(java.lang.String name)
throws org.eclipse.core.runtime.CoreException
- Creates a new database folder resource with the given name. The
database will not initially contain any database table definitions.
- Parameters:
name - The name of the database folder resource
- Returns:
- The newly created database folder resource
- Throws:
org.eclipse.core.runtime.CoreException - If an error occured during the creation of
the required file or folder resources of the database definition
deleteDatabase
void deleteDatabase(IDatabase database)
- Removes the given database from this application. This will also
remove all database table definitions contained by the database
folder resource.
- Parameters:
database - The database definition to remove